/** Radio*/
.col-criteria-radio{
    display: inline-block;
    float: left;

}

.col-criteria-radio.selected label{
    background: #e67e22;
    color: #fff;
}

.col-criteria-radio input[type="radio"]{
    display: none;
}

.col-criteria-radio label{
    padding: 5px 10px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-right: none;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear 0.2s,box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s,box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s,box-shadow linear 0.2s;
    -o-transition: border linear 0.2s,box-shadow linear 0.2s;
    transition: border linear 0.2s,box-shadow linear 0.2s;
}

.col-criteria-radio:last-child label{
    border-right: 1px solid #ddd;
}

/** Select */
.criteria-select{
    position: relative;
    line-height: 26px;
    padding: 0 10px;
    border-color: #cdced0 #c5c6c8 #b6b7b9;
    border-width: 1px;
    border-style: solid;
    color: #4e5665;
    text-shadow: 0 1px 0 #fff;
    min-width: 50px;
    cursor: pointer;
    background: #fff;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear 0.2s,box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s,box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s,box-shadow linear 0.2s;
    -o-transition: border linear 0.2s,box-shadow linear 0.2s;
    transition: border linear 0.2s,box-shadow linear 0.2s;
}

.criteria-select .text{
    font-weight: 600;
}

.criteria-select .icon{
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 14px;
}

.criteria-popup{
    position: absolute;
    min-width: 50px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .15);
    -webkit-border-radius: 3px;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
    cursor: pointer;
    z-index: 9999999;
}

.criteria-popup ul, .criteria-popup li{
    list-style: none;

}

.criteria-popup li{
    padding: 3px 10px;
}

.criteria-popup li:hover{
    color: #fff;
    background: #3b5998;
}

.criteria-col-item{
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 15px !important;
}

.col-search-criteria{
    min-width: 350px;
    background: #fff;
}

.col-search-criteria-header{
    position: relative;
    line-height: 26px;
    padding: 0 10px;
    border-color: #cdced0 #c5c6c8 #b6b7b9;
    border-width: 1px;
    border-style: solid;
    height: 30px;
    cursor: pointer;
    color: #ccc;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear 0.2s,box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s,box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s,box-shadow linear 0.2s;
    -o-transition: border linear 0.2s,box-shadow linear 0.2s;
    transition: border linear 0.2s,box-shadow linear 0.2s;
}

.col-search-criteria-body{
    position: absolute;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .15);
    -webkit-border-radius: 3px;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
    cursor: pointer;
    z-index: 9999;
}

.col-search-criteria-body ul{
    width: 350px;
}

.col-search-criteria-body ul .selected .text{
    color: #ccc;
}

.col-search-criteria-body ul li{
    width: 100%;
    list-style: none;
    border-top: 1px solid #eee;
    height: 100%;
    min-height: 26px;
}

.col-search-criteria-parent{
    display: table;
    table-layout: fixed;
    width: 100%;
}

.col-search-criteria-body ul li .icon{
    display: table-cell;
    height: 100%;
    width: 30px;
    font-size: 15px;
    color: #ccc;
    border-right: 1px solid #eee;
    margin-right: 5px;
    text-align: center;
}

.col-search-criteria-body ul li .text{
    display: table-cell;
    padding-left: 10px;
    height: 26px;
}

.col-search-criteria-body ul li .text:hover{
    background: #f5f5f5;
}

.col-search-criteria-child{
    display: block;
    width: 100% !important;
}

.col-search-criteria-child .children{
    padding-left: 40px;
}

.col-search-criteria-child .parent{
    padding-left: 10px;
}

.col-search-criteria-selected{
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-bottom: none;
}

.col-search-criteria-selected ul li{
    list-style: none;
    padding: 3px 10px;
    cursor: pointer;
}

.col-search-criteria-selected .parent{
    position: relative;
    padding: 3px 0;
}

.col-search-criteria-selected .parent:hover .icon{
    display: block;
}

.col-search-criteria-selected .parent:hover{
    background: #f5f5f5;
}

.col-search-criteria-selected .parent .icon{
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    color: #ccc;
    font-size: 12px;
}

.col-search-criteria-selected .children{
    position: relative;
    padding: 3px 0;
    padding-left: 10px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.col-search-criteria-selected .children:last-child{
    border-bottom: none;
}

.col-search-criteria-selected .children .icon{
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    color: #ccc;
    font-size: 12px;
}

.col-search-criteria-selected .children:hover .icon{
    display: block;
}

.col-search-criteria-selected .children:hover{
    background: #f5f5f5;
}

.criteria-main{
    position: relative;
}

.criteria-main-header{
    display: table;
    table-layout: fixed;
    width: 400px;
    height: 30px;
    border: 1px solid #ddd;
}

.criteria-main-text{
    display: table-cell;
}

.criteria-main-text input{
    width: 100%;
    height: 100%;
    border: none;
    padding: 5px;
    outline: none;
}

.criteria-main-browse{
    display: table-cell;
    width: 50px;
    font-size: 12px;
    text-align: right;
    line-height: 30px;
    padding-right: 5px;
    color: #2980b9;
    cursor: pointer;
}

.criteria-main-body{
    position: absolute;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(171,139,110,.38);
    border: 1px solid #ddd;
    cursor: pointer;
    z-index: 9999;
}

.criteria-main-body ul{
    list-style: none;
}

.criteria-main-body li{
    position: relative;
    padding: 5px;
    padding-left: 20px;
    border-top: 1px solid #ddd;
    cursor: pointer;
}

.criteria-main-body li .fa-plus{
    position: absolute;
    top: 10px;
    right: 5px;
    color: #ccc;
}

.criteria-main-body li:hover{
    background: #ecf0f1;
}

.criteria-item{
    width: 400px;
    min-height: 300px;
    border: 1px solid #ddd;
    margin-top: 10px;
}

.col-select-age{
    float: left;
    margin-right: 5px;
    background: #fff;
}

.col-select-age .criteria-select{
    min-width: 60px;
    padding-left: 10px;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear 0.2s,box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s,box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s,box-shadow linear 0.2s;
    -o-transition: border linear 0.2s,box-shadow linear 0.2s;
    transition: border linear 0.2s,box-shadow linear 0.2s;
}

.col-select-age .criteria-popup{
    min-width: 60px;
    max-height: 200px;
    overflow-y: auto;
}

.col-select-age .criteria-popup .selected{
    font-weight: 700;
    background: #44619D;
    color: #fff;
}

.col-more-criteria .criteria-select, .col-more-criteria .criteria-popup{
    min-width: 250px;
}

.col-more-criteria .selected{
    color: #ccc;
    font-weight: 600;
}

.col-criteria-result{
    width: 120px;
    display: inline-block;
    float: left;
}

.col-criteria-result li ul{
    padding-left: 15px;
}

.criteria-col-item .remove-criteria{
    color: #ccc;
    cursor: pointer;
    display: none;
}

.criteria-col-item:hover .remove-criteria{
    display: inline-block;
}

/**Criteria location **/
.criteria-location{
    border: 1px solid #ddd;
    min-width: 350px;
    background: #fff;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear 0.2s,box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s,box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s,box-shadow linear 0.2s;
    -o-transition: border linear 0.2s,box-shadow linear 0.2s;
    transition: border linear 0.2s,box-shadow linear 0.2s;
}

.criteria-location .result{
    border-bottom: 1px solid #ddd;
}

.criteria-location .result p{
    padding-left: 10px;
    padding-top: 5px;
    font-weight: 600;
}

.criteria-location .result ul li{
    position: relative;
    display: block;
    list-style: none;
    padding: 5px 15px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    cursor: pointer;
}

.criteria-location .result ul li:last-child{
    border-bottom: none;
}

.criteria-location .result ul li:hover .icon{
    display: inline-block;
}

.criteria-location .result ul li .text{

}

.criteria-location .result ul li .icon{
    display: none;
    position: absolute;
    right: 10px;
    font-size: 12px;
    color: #ccc;
}

.criteria-location .search input{
    height: 30px;
    border: none;
    padding-left: 5px;
    outline: none;
    cursor: pointer;
    width: 100%;
}

.criteria-location .list{
    display: none;
    min-width: 350px;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    background: #fff;
    box-shadow: 0 0 12px rgba(171,139,110,.38);
    border: 1px solid #ddd;
    z-index: 999999;
}

.criteria-location .list ul li{
    list-style: none;
    padding: 5px 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.criteria-location .list ul .selected{
    color: #ccc;
}

.criteria-location .list ul li:hover{
    background: #e67e22;
    color: #fff;
}

.research{
    height: 30px;
}

.research .people{
   display: inline-block;
}

.research .loading{
    display: inline-block;
    background: url("../images/ajax-loader.gif") no-repeat;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    background-position: center center;
    opacity: 0;
}

.result-show .profile, .result-show .beautiful, .result-show .family,
.result-show .sport, .result-show .works, .result-show .sales,
.result-show .technology, .result-show .eatanddrink, .result-show .hobby{
    display: none;
}